package kr.hkit.info.powerjava.ch14.lab.view;

import java.awt.GridLayout;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class InputUI extends JPanel {

	private JLabel lb;
	private JTextField tf;
	
	public InputUI(String title){
		setLayout(new GridLayout(0,2));
		lb = new JLabel(title);
		tf =new JTextField(10) ;
	}

	public JLabel getLb() {
		return lb;
	}

	public void setLb(JLabel lb) {
		this.lb = lb;
	}

	public JTextField getTf() {
		return tf;
	}

	public void setTf(JTextField tf) {
		this.tf = tf;
	}
	
	
}
